﻿@{
    ViewBag.Title = ((tb_topclass)ViewBag.TopClass).GetName();
    Layout = "~/Views/Shared/Class/_Layout.cshtml";
}
<div class="articleListBox">
    @foreach (var data in Model)
    {
        <ul class="articleList">
            @{
            tb_subclass subclass = (tb_subclass)data;
                <li class="articleImg"><img src="@subclass.GetPicUrl()" alt="@(((tb_subclass)data).GetName())" /></li>
                <li class="articleTxt">
                    <p class="articleTitle">@(((tb_subclass)data).GetName())</p>
                    <p class="articleContent">
                        @subclass.GetClassSummary()
                    </p>
                    <p class="articleLink">
                        <a href="@ViewHelper.GetUrl(subclass)">@("Common:More".GetResourceText())>></a>
                    </p>
                </li>
                <li class="clear"></li>
            }
        </ul>
    }
</div>